Optimal. Leaf size=64 \[ \frac{x^2 \left (a+b x^n\right ) \, _2F_1\left (1,\frac{2}{n};\frac{n+2}{n};-\frac{b x^n}{a}\right )}{2 a \sqrt{a^2+2 a b x^n+b^2 x^{2 n}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0218741, antiderivative size = 64, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {1355, 364} \[ \frac{x^2 \left (a+b x^n\right ) \, _2F_1\left (1,\frac{2}{n};\frac{n+2}{n};-\frac{b x^n}{a}\right )}{2 a \sqrt{a^2+2 a b x^n+b^2 x^{2 n}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1355
Rule 364
Rubi steps
\begin{align*} \int \frac{x}{\sqrt{a^2+2 a b x^n+b^2 x^{2 n}}} \, dx &=\frac{\left (a b+b^2 x^n\right ) \int \frac{x}{a b+b^2 x^n} \, dx}{\sqrt{a^2+2 a b x^n+b^2 x^{2 n}}}\\ &=\frac{x^2 \left (a+b x^n\right ) \, _2F_1\left (1,\frac{2}{n};\frac{2+n}{n};-\frac{b x^n}{a}\right )}{2 a \sqrt{a^2+2 a b x^n+b^2 x^{2 n}}}\\ \end{align*}
Mathematica [A] time = 0.0136308, size = 53, normalized size = 0.83 \[ \frac{x^2 \left (a+b x^n\right ) \, _2F_1\left (1,\frac{2}{n};1+\frac{2}{n};-\frac{b x^n}{a}\right )}{2 a \sqrt{\left (a+b x^n\right )^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.02, size = 0, normalized size = 0. \begin{align*} \int{x{\frac{1}{\sqrt{{a}^{2}+2\,ab{x}^{n}+{b}^{2}{x}^{2\,n}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{b^{2} x^{2 \, n} + 2 \, a b x^{n} + a^{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{x}{\sqrt{b^{2} x^{2 \, n} + 2 \, a b x^{n} + a^{2}}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{\left (a + b x^{n}\right )^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{b^{2} x^{2 \, n} + 2 \, a b x^{n} + a^{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]